package com.example.courseapp

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import com.example.courseapp.data.DataPreferences
import com.example.courseapp.data.LoginDataSource

class DetailActivity : AppCompatActivity() {
    val dataPreferences= DataPreferences()
    // 初始化数据
    var dataSource = LoginDataSource()

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_detail)
        val courseDetial:String =getDetial()
    }

    /**
     * return courseDetail
     */
     fun getDetial():String{
        return ""
    }

}